<%--
  Created by IntelliJ IDEA.
  User: fuqingjian
  Date: 2017/4/13
  Time: 16:06
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <%@ include file="/WEB-INF/jsp/wx/WXheader.jsp" %>
</head>
<body style="padding: 5px;">
<div class="panel panel-default" style="margin-bottom: 0px;height: 100%;">
    <div class="panel-heading" style="padding: 3px 15px;overflow: hidden">
            推荐顾问
        <button class="btn btn-default btn-sm" style="float: right;" onclick="getSelectData()">获取选择数据</button>

    </div>
    <div class="panel-body" style="padding: 5px;">
        <table id="datatable" data-url="/appManange/exp/adviserpage.do" ishascheck="true">
        </table>
    </div>
</div>

<script>
    /*需要分页*/
    $("#datatable").tablepage(10);
    /*不需要分页*/
//    $("#datatable").table();
    function getSelectData() {
        alert(JSON.stringify($("#datatable").getTableSelects()));
    }

</script>
</body>
</html>
